package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the CC_HOSP_FLOOR database table.
 * 
 */
@Entity
@Table(name="CC_HOSP_FLOOR")
@NamedQuery(name="CcHospFloor.findAll", query="SELECT c FROM CcHospFloor c")
public class CcHospFloor implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_HOSP_FLOOR_FLOORID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_HOSP_FLOOR_FLOORID_GENERATOR")
	@Column(name="FLOOR_ID")
	private long floorId;

	@Column(name="FLOOR_NAME")
	private String floorName;

	public CcHospFloor() {
	}

	public long getFloorId() {
		return this.floorId;
	}

	public void setFloorId(long floorId) {
		this.floorId = floorId;
	}

	public String getFloorName() {
		return this.floorName;
	}

	public void setFloorName(String floorName) {
		this.floorName = floorName;
	}

}